package com.shoux.api.web.entity.apiData;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 企业照面信息
 * </p>
 *
 * @author xiaoZhi
 * @since 2022-03-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("basiclist")
@ApiModel(value="BasiclistEntity对象", description="企业照面信息")
public class BasiclistEntity extends Model<BasiclistEntity> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "企业名称")
    @TableField("enterpriseName")
    private String enterprisename;

    @ApiModelProperty(value = "企业名称")
    @TableField("enterpriseName_1")
    private String enterprisename1;

    @ApiModelProperty(value = "统一社会信用代码")
    @TableField("creditCode")
    private String creditcode;

    @ApiModelProperty(value = "工商注册号")
    @TableField("regNo")
    private String regno;

    @ApiModelProperty(value = "组织机构代码")
    @TableField("orgCode")
    private String orgcode;

    @ApiModelProperty(value = "企业(机构)类型")
    @TableField("enterpriseType")
    private String enterprisetype;

    @ApiModelProperty(value = "法定代表人姓名")
    @TableField("frName")
    private String frname;

    @ApiModelProperty(value = "注册资本(万元)")
    @TableField("regCap")
    private String regcap;

    @ApiModelProperty(value = "注册资本币种")
    @TableField("regCapCur")
    private String regcapcur;

    @ApiModelProperty(value = "开业日期")
    @TableField("esDate")
    private String esdate;

    @ApiModelProperty(value = "经营期限自")
    @TableField("openFrom")
    private String openfrom;

    @ApiModelProperty(value = "经营期限至")
    @TableField("openTo")
    private String opento;

    @ApiModelProperty(value = "登记机关")
    @TableField("regOrg")
    private String regorg;

    @ApiModelProperty(value = "核准时间")
    @TableField("apprDate")
    private String apprdate;

    @ApiModelProperty(value = "经营状态(在营、注销、吊销、其他)")
    @TableField("enterpriseStatus")
    private String enterprisestatus;

    @ApiModelProperty(value = "注册地址")
    private String address;

    @ApiModelProperty(value = "经营(业务)范围")
    @TableField("operateScope")
    private String operatescope;

    @ApiModelProperty(value = "国民经济行业代码")
    @TableField("industryCode")
    private String industrycode;

    @ApiModelProperty(value = "国民经济行业名称")
    @TableField("industryName")
    private String industryname;

    @ApiModelProperty(value = "行业门类代码")
    @TableField("industryPhyCode")
    private String industryphycode;

    @ApiModelProperty(value = "行业门类名称")
    @TableField("industryPhyName")
    private String industryphyname;

    @ApiModelProperty(value = "二级国民经济行业代码")
    @TableField("industryCode2")
    private String industrycode2;

    @ApiModelProperty(value = "二级国民经济行业名称")
    @TableField("industryName2")
    private String industryname2;

    @ApiModelProperty(value = "联系人电话")
    private String telephone;

    @ApiModelProperty(value = "住所所在行政区划")
    @TableField("AddrDistrict")
    private String addrdistrict;

    @ApiModelProperty(value = "所在省份")
    @TableField("regOrgProvince")
    private String regorgprovince;

    @ApiModelProperty(value = "所在城市")
    @TableField("regOrgCity")
    private String regorgcity;

    @ApiModelProperty(value = "所在区/县")
    @TableField("regOrgDistrict")
    private String regorgdistrict;

    @ApiModelProperty(value = "电子邮箱")
    private String email;

    @ApiModelProperty(value = "邮政编码")
    @TableField("zipCode")
    private String zipcode;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
